package com.woniu.mapper;

import com.woniu.vo.AvailableBedVO;
import com.woniu.vo.SimpleDoctorVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdmissionResourceMapper {
    /**
     * 1. 查询指定科室的所有医生 (role_id = 2)
     */
    List<SimpleDoctorVO> findDoctorsByDepartmentId(@Param("departmentId") Integer departmentId);

    /**
     * 2. 查询指定科室的所有空病床 (status = 0)
     */
    List<AvailableBedVO> findAvailableBedsByDepartmentId(@Param("departmentId") Integer departmentId);
}

